<table class="title" align="center" cellspacing="0" cellpadding="0">
  <tr>
    <td class="title_label"><?php echo Kohana::lang('invoice_lang.lbl_sale_summary')?></td>
  </tr>
</table>
<table class="list" align="center" cellspacing="1" cellpadding="5">
  <tr class="list_header">
    <td width="80" align="center">&nbsp;</td>
    <td align="center"><?php echo Kohana::lang('invoice_lang.lbl_invoice')?></td>
    <td align="center"><?php echo Kohana::lang('invoice_lang.lbl_shipping_cost')?></td>
  </tr>
  <tr class="row2">
    <td align="left"><strong><?php echo Kohana::lang('invoice_lang.lbl_this_week')?></strong></td>
    <td align="right"><?php if(isset($mr)) echo $mr['orders_total_week'] ?></td>
    <td align="right"><?php if(isset($mr)) echo $mr['shipping_total_week'] ?></td>
  </tr>
  <tr class="row2">
    <td align="left"><strong><?php echo Kohana::lang('invoice_lang.lbl_this_month')?></strong></td>
    <td align="right"><?php if(isset($mr)) echo $mr['orders_total_month'] ?></td>
    <td align="right"><?php if(isset($mr)) echo $mr['shipping_total_month'] ?></td>
  </tr>
  <tr class="row2">
    <td align="left"><strong><?php echo Kohana::lang('invoice_lang.lbl_this_year')?></strong></td>
    <td align="right"><?php if(isset($mr)) echo $mr['orders_total_year'] ?></td>
    <td align="right"><?php if(isset($mr)) echo $mr['shipping_total_year'] ?></td>
  </tr>
  <tr class="row2">
    <td align="left"><strong><?php echo Kohana::lang('invoice_lang.lbl_total')?></strong></td>
    <td align="right"><?php if(isset($mr)) echo $mr['orders_total'] ?></td>
    <td align="right"><?php if(isset($mr)) echo $mr['shipping_total'] ?></td>
  </tr>
</table>